package com.hw.model.dto.doctor;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;


/**
 * @author lipeng
 * @description 医生修改dto
 * @date 2023/3/9 14:03
 */
@Data
public class DoctorUpdateDTO {
    /**
     * 医生名称
     */
    @NotBlank(message = "Doctor name cannot be empty")
    private String doctorName;

    /**
     * 医生手机号
     */
    @NotBlank(message = "The doctor's mobile phone number cannot be empty")
    private String phone;

    /**
     * 修改id
     */
    @NotNull(message = "Doctor ID cannot be empty")
    private Long id;

    /**
     * 授权信息
     */
    private List<String> authorizationList;

}
